import $axios from 'utils/Request'

/**
 * 发送验证码
 */
export const sendCode = data => {
    return $axios({
        url: '/api/sms/sendSms',
        method: 'get',
        data
    });
}



/**
 * 国际化
 * @param {*} data 
 */
export const updateLocale = data => {
    return $axios({
        url: '/api/locale/',
        method: 'get',
        data
    });
}